package com.example.waitersoriginal;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
//import android.support.v4.app.FragmentActivity;
import android.view.Window;
import android.view.WindowManager;

public class EntradaActivityV03 extends FragmentActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
    	requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                                WindowManager.LayoutParams.FLAG_FULLSCREEN);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.entrada_layout);
        
    }
    
    /*public void btnAddCart(DetalhesFragment nomeEntrada, DetalhesFragment valorEntrada)
    {
    	ArrayList<HashMap<String,DetalhesFragment>> pedidos = new ArrayList<HashMap<String, DetalhesFragment>>();
    	
    	HashMap<String, DetalhesFragment> pedido = new HashMap<String, DetalhesFragment>();
    	
		pedido.put("pedido", nomeEntrada);
		pedido.put("quantidade", valorEntrada);
		
		String[] from = new String[]{"pedido","quantidade"};
		
		int layout = R.layout.lista_pedidos_model;
				
		int[] to = new int[]{R.id.textView2,R.id.textView3};	
		
		ListView lista = (ListView) findViewById(R.id.listView1);
	
		lista.setAdapter(new SimpleAdapter(this,pedidos, layout, from, to));
    	
    }
    */
}